module.exports = app => {
    const { router, controller } = app;

    router.get('/api/pub/history/loginCount/:userId', controller.record.getLoginHistoryCount);
    router.get('/api/pub/history/loginLocationRecord', controller.record.getLoginLocationRecord);
};